<div class="form-area" id="scholarship-form">
    <form action="/resume/scholarship/<#if (scholarship.id)??>${scholarship.id}/</#if>${behaviour}" method="post" id="form-scholarship">
        <input type="hidden" name="method" value="do"/>
        <input type="hidden" name="CSRFToken" value="${CSRFToken!""}"/>
        <table width="100%" class="dj-form-base">
            <colgroup>
                <col width="120">
                <col width="*">
            </colgroup>
            <tbody>
            <tr>
                <th><em>*</em>奖项名称:</th>
                <td class="input">
                    <input type="text" reg="^.{2,100}$" value="${(scholarship.name)!""}" maxlength="100" name="name" class="text J_checkInput" id="awardname-input">
                    <div style="display: none; " class="error">请输入获奖名称</div>
                </td>
            </tr>
            <tr>
                <th><em>*</em>获奖时间:</th>
                <td class="input">
                    <input type="text" reg="fun:$.formValidateFn.time,work,td" class="text year J_checkInput"
                           id="startdate-year" name="start" maxlength="4" value="${(scholarship.obtainDate?string('yyyy'))!}">

                    <span class="input">年</span>
                    <input type="text" class="text month" id="startdate-month" name="start" maxlength="2" value="${(scholarship.obtainDate?string('MM'))!}">
                    <span class="input">月</span>
                    <div style="display: none; " class="error">请填写正确的时间</div>
                </td>
            </tr>
            <tr>
                <th><em>*</em>所在学校:</th>
                <td class="input">
                    <select name="schoolName" id="award-school-select" class="J_checkInput">
                        <option value="">请选择</option>
                        <#list resumeHelper.edus() as edu>
                            <option value="${edu.schoolName}"<#if scholarship.schoolName?? && edu.schoolName==scholarship.schoolName> selected</#if>>${edu.schoolName}</option>
                        </#list>
                    </select>
                    <div style="display: none; " class="error"> 请选择学校</div>
                </td>
            </tr>
            <tr>
                <th>说明:</th>
                <td class="input textarea-box">
                    <textarea id="explain-textarea" class="textarea-con edit-textarea J_checkInput" blankvalue="描述你在校期间所获得的奖励（限400字）" blanksubmit="true" blankclass="g9" reg="^.{0,400}$"  name="descr" maxnum="400"><#if scholarship.descr??>${scholarship.descr}</#if></textarea>
                    <p class="textarea-check-tip"><span class="J_lastNum g9"><span>0</span>/400</span></p>
                </td>
            </tr>
            <tr>
                <th>&nbsp;</th>
                <td class="input button">
                    <a href="javascript:void(0);"class="fresh formValidateSubmit margin"id="J_formSubmit" itemtype="scholarship"><span>保存</span></a><a href="javascript:void(0);" class="normal J_cancel" itemtype="scholarship"><span>取消</span></a>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
